package com.gaoyi.crm.db.entity;

import androidx.room.Entity;

import com.gaoyi.crm.db.CrmDatabase;

import java.util.Date;

@Entity(tableName = CrmDatabase.TABLE_CUSTOMER)
public class Customer extends BaseEntity {
    private String code;
    private String enName;
    private String cnName;
    private String deliveryAddr;
    private String billAddr;
    private int state;
    private Date syncedAt; // 同步时间
    private int syncedStatus; // 同步状态

    public Date getSyncedAt() {
        return syncedAt;
    }

    public void setSyncedAt(Date syncedAt) {
        this.syncedAt = syncedAt;
    }

    public int getSyncedStatus() {
        return syncedStatus;
    }

    public void setSyncedStatus(int syncedStatus) {
        this.syncedStatus = syncedStatus;
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getEnName() {
        return enName;
    }

    public void setEnName(String enName) {
        this.enName = enName;
    }

    public String getCnName() {
        return cnName;
    }

    public void setCnName(String cnName) {
        this.cnName = cnName;
    }

    public String getDeliveryAddr() {
        return deliveryAddr;
    }

    public void setDeliveryAddr(String deliveryAddr) {
        this.deliveryAddr = deliveryAddr;
    }

    public String getBillAddr() {
        return billAddr;
    }

    public void setBillAddr(String billAddr) {
        this.billAddr = billAddr;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
